class WorkItem(object):
    def __init__(self,url,filePath,order,fileName,type=1):
        self.url = url
        self.filePath = filePath
        self.order = order
        self.fileName = fileName
        self.count = 0
        self.isSuccess = False
        self.type = type

    def addCount(self):
        self.count += 1